﻿namespace adminTemplateApi.Common
{
    public class MyError : Exception
    {
        public int Code { get; set; }        

        public MyError(int code, string message):base(message)
        {
            Code = code;            
        }
    }
}
